package com.gduf.bbl.service.impl;

import com.gduf.bbl.common.utils.PageUtils;
import com.gduf.bbl.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.gduf.bbl.dao.WalletsDao;
import com.gduf.bbl.entity.WalletsEntity;
import com.gduf.bbl.service.WalletsService;


@Service("walletsService")
public class WalletsServiceImpl extends ServiceImpl<WalletsDao, WalletsEntity> implements WalletsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WalletsEntity> page = this.page(
                new Query<WalletsEntity>().getPage(params),
                new QueryWrapper<WalletsEntity>()
        );

        return new PageUtils(page);
    }

}